package com.beehoo.dcportal.admin.dao;

import java.util.List;
import java.util.Map;

import com.beehoo.dcportal.common.base.BaseException;
import com.beehoo.dcportal.model.RelatedLinkBean;

public interface RelatedLinkDao {

	/**
	 * 创建友情链接
	 * @param relatedLinkBean
	 * @return
	 * @throws BaseException
	 */
	public String createRelatedLink(RelatedLinkBean relatedLinkBean) throws BaseException;
	
	/**
	 * 删除友情链接
	 * @param linkId
	 * @return
	 * @throws BaseException
	 */
	public int deleteRelatedLink(String linkId) throws BaseException;
	
	/**
	 * 查询友情链接
	 * @param paramMap
	 * @return
	 * @throws BaseException
	 */
	public List<RelatedLinkBean> queryRelatedLink(Map<String, Object> paramMap) throws BaseException;
}
